package skiree.host.abetsy.api.service;

import org.springframework.scheduling.annotation.Async;
import skiree.host.abetsy.api.vessel.Result;
import skiree.host.abetsy.model.LocalEpisode;

public interface EpisodeService {
    Result list(int animeId, String query, int pageNum, int pageSize);

    Result shows(int animeId);

    Result add(LocalEpisode localEpisode);

    Result edit(LocalEpisode localEpisode);

    @Async
    void delete(int id);

    @Async
    void refresh(int id);
}